<div id="user_nav">
  <?php 
    echo '<a id=user_list href='.base_url().'users>Users List</a>
    <a id=reg_admin href='.base_url().'register/admin>Register Administrator</a>
    <a id=reg_emp href='.base_url().'register/emp>Register Employee</a>
    <a id=reg_stud href='. base_url().'register/stud>Register Student</a>
    <a id=reg_upload href='.base_url().'user/upload_file>Upload CSV File</a>';
    ?>
</div>
  
<?php 
    $user = "";
    if($this->session->userdata('role') === 'admin') {
        $user = 'ADMIN';
    } else {
        $user = '';
    }
    echo '<div class=welcome_container><span class="welcome_remarks">Welcome <span class="user">'.$user.'</span> to the User Module.</span><br/><span class="msg">'.$error.'</span><span class="success">'.$success.'</span></div>';
?>
